package com.httpDemo.service;

import com.github.pagehelper.PageInfo;
import com.httpDemo.doMain.User;

public interface UserService {

	int deleteById(Integer id);

	User save(User user);

	User update(User user);

	User findById(Integer id);

	PageInfo<User> findAll(int pageNum, int pageSize);
}
